
package com.sskj.jkzx.domain.entity.quantity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

import org.hibernate.annotations.BatchSize;

import com.sskj.core.entity.BaseEntity;

@Table(name = "jkzx_sgxk_quantity")
@Entity
@Inheritance(strategy = InheritanceType.JOINED)
@BatchSize(size = 50)
public class SgxkQuantity extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/** 全部 */
	@Column(nullable = false)
	private long total = 0;

	/** 新增 */
	@Column(nullable = false)
	private long newly = 0;

	private String tjYear = "";

	public long getTotal() {

		return total;
	}

	public void setTotal(long total) {

		this.total = total;
	}

	public long getNewly() {

		return newly;
	}

	public void setNewly(long newly) {

		this.newly = newly;
	}

	public String getTjYear() {

		return tjYear;
	}

	public void setTjYear(String tjYear) {

		this.tjYear = tjYear;
	}

}
